<template>
  <g class="flicker-layer">
    <Flicker
      v-for="([k, v]) in flickerStore.flickers"
      :key="k"
      :index="v.index"
      :x="v.x"
      :y="v.y"
    />
  </g>
</template>

<script setup>
  import Flicker from './Flicker.vue'
  import { useFlickerStore } from '@/store/flicker'

  const flickerStore = useFlickerStore()
</script>

<style lang="scss" scoped>

</style>